package com.example.canteen.dao;

import com.example.canteen.domain.CException;

import java.util.List;

public interface CExceptionDao {
    public CException findById(int id);

    public CException findByTypeAndInfo(String exceptionType,String exceptionInfo);

    public List<CException> findByCanteenId(int cid);

    public List<CException> findAll();

    public int delete(int id);

    public void save(CException cException);

    public int update(CException cException);

}
